Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

return non-zero exit code if XML output fails to generate (issue #226), note additional files can be process in -help output #227

Closed
wants to merge 1 commit into from

Conversation

freddrueck
Copy link

add some "die" statements to texml so that if an XML output file
cannot be generated from any input file the script will exit with a non-zero return code, as is expected of unix-like programs that fail to run successfully. (noted in issue #226)

Also: modify the usage note (what the -help option will cause to be printed) to document that the script will process all filenames based as agruments to the script

cannot be generated from any input file the script will exit with
a non-zero return code, as is expected of unix-like programs that
fail to run successfully.

Also: modify the usage note (what the -help option will cause to be
printed) to document that the script will process all filenames based
as agruments to the script
@davidmjones
Copy link
Contributor

Thanks, Fred. On review, there's no good reason for texml to accept multiple files, so I simplified the code to remove support for that. I also added some hooks to TeX::Interpreter to expose some internal errors that should also cause a non-zero exit status. See commit 91d6bdc.

@davidmjones davidmjones closed this Dec 4, 2024
@freddrueck
Copy link
Author

freddrueck commented Dec 4, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants